package cn.stylefeng.guns.modular.system.service;

import cn.stylefeng.guns.modular.system.model.GameTag;
import com.baomidou.mybatisplus.service.IService;
import com.nineshadow.games.vo.UserTagsVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  标签
 * </p>
 *
 * @author liyong
 * @since 2019-11-28
 */
public interface IGameTagService extends IService<GameTag> {
    /**
     * 获取对手标签
     * @param targetId 对手id
     * @return
     */
    List<UserTagsVo> getUserTags(Integer targetId,Integer GameType);

    /**
     * 当局某个标签是否已经点过
     * @param roomId
     * @param userId 点赞人
     * @param tagId
     * @return
     */
    boolean isLikeTagByRoom(Integer roomId,Integer userId,Integer tagId);

}
